﻿<%@ Page Title="" Language="C#" MasterPageFile="~/WhatSNew.Master" AutoEventWireup="true" CodeBehind="NewsManage.aspx.cs" Inherits="WhatSNew.Manage.NewsManage" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript" src="../jquery.js"></script>
    <script type="text/javascript">
        jQuery(document).ready(function ()
        {
            jQuery("#manage li").mouseover(function(){
                jQuery("ul #manage li:gt(0)").show(100);
            });
            jQuery("#manage").mouseleave(function () {
                jQuery("ul #manage li:gt(0)").hide(100);
            });
            jQuery("#userinfo li").mouseover(function () {
                jQuery("ul #userinfo li:gt(0)").show(100);
            });
            jQuery("#userinfo").mouseleave(function () {
                jQuery("ul #userinfo li:gt(0)").hide(100);
            });
        }
        )
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderNav" runat="server">
    <div class="menu_header">
    <div class="menu_nav">
        <ul>
          <li><a >最新</a></li>
          <li><a >热门</a></li>
          <li><a href="../submission.aspx">投稿</a></li>
          <li>
              <ul style ="clear:both; position:relative;z-index:1000;" id = "userinfo">
                  <li style ="clear:both; width: 100px;"><span class = "navlink">我的账号</span></li>
                  <li style ="clear:both; width: 100px; display:none; background-color:#E7E4E4;"><a href = "../User/Personal.aspx" style ="font-size: 14px;padding:10px;">个人信息</a></li>
                  <li style ="clear:both; width: 100px; display:none; background-color:#E7E4E4;"><a href = "UserMabage.aspx" style ="font-size: 14px;padding:10px;">新鲜事</a></li>
                  <li style ="clear:both; width: 100px; display:none; background-color:#E7E4E4;"><a href = "UserMabage.aspx" style ="font-size: 14px;padding:10px;">评论</a></li>
                  <li style ="clear:both; width: 100px; display:none; background-color:#E7E4E4;"><a href = "UserMabage.aspx" style ="font-size: 14px;padding:10px;">关注</a></li>
                  <li style ="clear:both; width: 100px; display:none; background-color:#E7E4E4;"><a href = "UserMabage.aspx" style ="font-size: 14px;padding:10px;">私信</a></li>
              </ul>
          </li>
          <li >
              <ul style ="clear:both;position:relative;z-index:1000;" id = "manage" >
                  <li style ="clear:both; width: 100px;"><span class = "navlink">管理</span></li>
                  <li style ="clear:both; width: 100px; display:none; background-color:#E7E4E4;"><a href = "NewsManage.aspx" style="font-size: 14px;padding:10px;">新鲜事管理</a></li>
                  <li style ="clear:both; width: 100px; display:none; background-color:#E7E4E4;"><a href = "UserMabage.aspx" style="font-size: 14px;padding:10px;">用户管理</a></li>
              </ul>
          </li>
        </ul>
          <div style ="float:right; text-align:right;">
              <div class ="item" style ="float:left;margin: 5px 5px">            
                      <asp:Button ID="BTN_Info1" runat="server" BorderStyle="None" Text="登陆" 
                          Height="30px" style ="margin: 9px 5px 5px; 
                           border-radius: 3px 3px" CssClass="btn-submit"/>
                      <asp:Button ID="BTN_Info2" runat="server" BorderStyle="None" Text="注册"
                          Height="30px" style ="margin: 9px 5px 5px;
                           border-radius: 3px 3px"  CssClass="btn-submit" />
              </div>
          </div>      
    </div>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="content_resize" style ="padding:0; margin:0 auto;">
    <script type="text/javascript" src="../js/sliding_effect.js"></script>
    <div class = "rs_left" style = "width:193px; border-right:1px solid #dcdcdc">
            <div id="sidebar">
	        <ul>
            <li><h4 style ="padding-left:10px">管理新鲜事</h4>
		        <ul>
			        <li><a href="index.html">待审核</a></li>
                    <li><a href="#">已通过</a></li>
                    <li><a href="#">已拒绝</a></li>
		        </ul>
	        </li>
            </ul>
        </div>
        </div>
    <div class = "rs_right" style = "width:750px">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
                </asp:ScriptManager>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <asp:Panel ID="Panel1" runat="server" class ="news_area">
                    <asp:Panel ID="author_info" runat="server" class = "news_author_info">
                        <asp:Image ID="Image1" runat="server" CssClass="news_image" />
                        <asp:Label ID="Name1" runat="server" CssClass="news_author_name" Text="Label"></asp:Label>
                        <asp:Label ID="Title1" runat="server" CssClass="news_head" Text="Label"></asp:Label>
                    </asp:Panel>   
                    <asp:Panel ID="Panel6" runat="server" class="news_content">
                        <asp:Label ID="Text1" runat="server" CssClass="news_text" Text="Label"></asp:Label>
                        <asp:Image ID="Image2" runat="server" CssClass="news_image" />
                    </asp:Panel>  
                    <asp:Panel ID="Panel7" runat="server" class ="new_footer">
                        <asp:Button ID="Pass1" runat="server" CssClass="btn-small" Text="通过" OnClick="Pass1_Click" />
                        <asp:Button ID="Reject1" runat="server" BackColor="#FF9933" BorderColor="#FF870F" CssClass="btn-small" Text="拒绝" OnClick="Reject1_Click" />
                    </asp:Panel>                
                </asp:Panel>
            </ContentTemplate>
            
        </asp:UpdatePanel>

        <asp:UpdatePanel ID="UpdatePanel2" runat="server">
            <ContentTemplate>
                <asp:Panel ID="Panel2" runat="server" class ="news_area">
                    <asp:Panel ID="Panel4" runat="server" class ="news_author_info">
                        <asp:Image ID="Image3" runat="server" CssClass="news_image" />
                        <asp:Label ID="Name2" runat="server" CssClass="news_author_name" Text="Label"></asp:Label>
                        <asp:Label ID="Title2" runat="server" CssClass="news_head" Text="Label"></asp:Label>
                    </asp:Panel>
                    <asp:Panel ID="Panel5" runat="server" class = "news_content">
                        <asp:Label ID="Text2" runat="server" CssClass="news_text" Text="Label"></asp:Label>
                        <asp:Image ID="Image4" runat="server" CssClass="news_image" />
                    </asp:Panel>
                    <asp:Panel ID="Panel8" runat="server" class ="new_footer">
                        <asp:Button ID="Pass2" runat="server" CssClass="btn-small" Text="通过" />
                        <asp:Button ID="Reject2" runat="server" BackColor="#FF9933" BorderColor="#FF870F" CssClass="btn-small" Text="拒绝" />
                    </asp:Panel>          
                </asp:Panel>
            </ContentTemplate>            
        </asp:UpdatePanel>


        <asp:UpdatePanel ID="UpdatePanel3" runat="server">
            <ContentTemplate>
                <asp:Panel ID="Panel3" runat="server" class ="news_area">
                    <asp:Panel ID="Panel9" runat="server" class ="news_author_info">
                        <asp:Image ID="Image5" runat="server" CssClass="news_image" />
                        <asp:Label ID="Name3" runat="server" CssClass="news_author_name" Text="Label"></asp:Label>
                        <asp:Label ID="Title3" runat="server" CssClass="news_head" Text="Label"></asp:Label>
                    </asp:Panel>
                    <asp:Panel ID="Panel10" runat="server" class = "news_content">
                        <asp:Label ID="Text3" runat="server" CssClass="news_text" Text="Label"></asp:Label>
                        <asp:Image ID="Image6" runat="server" CssClass="news_image" />
                    </asp:Panel>
                    <asp:Panel ID="Panel11" runat="server" class ="new_footer">
                        <asp:Button ID="Pass3" runat="server" CssClass="btn-small" Text="通过" />
                        <asp:Button ID="Reject3" runat="server" BackColor="#FF9933" BorderColor="#FF870F" CssClass="btn-small" Text="拒绝" />
                    </asp:Panel>
                </asp:Panel>
            </ContentTemplate>
            
        </asp:UpdatePanel>
                                        
        </div>
   </div>
    <div class="clr"></div>
</asp:Content>